package com.tony.pmp.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tony.pmp.common.utils.PageUtil;
import com.tony.pmp.model.entity.AttendRecordEntity;

import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 *
 * @Title: AttendRecordService
 * @Auther: 皮蛋布丁
 * @Date: 2021/08/03/15:07
 * @Description:
 */
public interface AttendRecordService extends IService<AttendRecordEntity> {

    /**
    * @Description: queryPage 获取考勤列表(分页)
    * @Param: [params]
    * @return: com.tony.pmp.common.utils.PageUtil
    * @Author: 皮蛋布丁
    * @Date: 2021/8/3 15:19
    */
    PageUtil queryPage(Map<String, Object> params);

    /**
    * @Description: selectAll 获取考勤列表
    * @Param: [params]
    * @return: java.util.List<com.tony.pmp.model.entity.AttendRecordEntity>
    * @Author: 皮蛋布丁
    * @Date: 2021/8/4 11:45
    */
    List<AttendRecordEntity> selectAll(Map<String, Object> params);

    /**
    * @Description: manageExport 中间站转换处理为导出服务
    * @Param: [list]
    * @return: java.util.List<java.util.Map<java.lang.Integer,java.lang.Object>>
    * @Author: 皮蛋布丁
    * @Date: 2021/8/4 13:59
    */
    List<Map<Integer, Object>> manageExport(List<AttendRecordEntity> list);
}
